package com.ubb.dbms.domain.xml;

import org.simpleframework.xml.Attribute;
import org.simpleframework.xml.Root;

@Root(name = "Attribute")
public class TableAttribute {
	
	@Attribute (name ="attributeName", required = true)
	private String attributeName;
	
	@Attribute (name = "type", required = true)
	private String type;
	
	@Attribute (name = "lenght", required = false)
	private String length;
	
	@Attribute (name = "isNull", required = false)
	private String isNull;

	public String getAttributeName() {
		return attributeName;
	}

	public void setAttributeName(String attributeName) {
		this.attributeName = attributeName;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getLength() {
		return length;
	}

	public void setLength(String length) {
		this.length = length;
	}

	public String getIsNull() {
		return isNull;
	}

	public void setIsNull(String isNull) {
		this.isNull = isNull;
	}

}
